home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
020a
/
niscangs.zip
/
NISCANGS.DOC
next >
Wrap
Text File
|
1991-10-31
|
6KB
|
153 lines
Niscan/GS scanner driver
NISCANGS.SYS & SAPI.EXE
October 25, 1991
The Niscan/GS scanner driver provides Black and White, Halftone and Gray Scale
scanning for all ZSoft products. The driver consists of two parts, the Niscan
supplied NISCANGS.SYS and the ZSoft SAPI.EXE driver.
This driver supports the following features:
NISCAN/GS SCANNER:
==============================
Brightness Settings 1-32
Contrast Settings 1-32
Automatic Brightness No
Automatic Contrast No
Resolutions 1-400 DPI by 25
Scan Modes B/W, Halftone, GS-16, GS-256
Halftones Bayer, Fine Fatting, Coarse Fatting,
Horizontal Line, Vertical Line, Mesh
Enhancements B/W reversal
Maximum Scan Area 4.16 x Unlimited
The Niscan device driver NISCANGS.SYS must be loaded from CONFIG.SYS and be
loaded before the ZSoft driver. The commands provided by the driver are
listed below.
NISCAN/GS SAPI Standard 3.0 Driver, Dated 10/25/91
/A=xxx Sets the base I/O address of the scanner. The two valid
settings are 250 and 350. The default is 350.
/I=x Sets the interrupt request number (IRQ). The valid settings
are 3, 4, and 5. The default is 3.
/D=x Sets the DMA channel. The valid settings are 1 and 3. The
default is 1.
/T=xx Sets the scanner timeout period. This is the time in seconds
the scanner will wait for scan activity, once a scan has
started. After the timeout has expired, the driver signals the
application program that the scan is complete. If this
parameter is not specified, a value of 0, meaning "no timeout"
is assumed.
/N=x Adjusts the timing of the scanners optics. The valid values
are 0 through 7. Zero is the default. If the image provided
by the scanner appears to have a wood grain quality, vary this
parameter. Although the correct value varys from PC to PC,
the most commonly used values are 0, 1, and 7.
The adapter card has a DIP switch to set the I/O address, DMA and interrupt.
1 = ON IRQ 3
2 = ON IRQ 4
3 = ON IRQ 5
4 = ON DMA 1
5 = ON DMA 3
6 = ON DMA 1
7 = ON DMA 3
8 = ON Addr 250 OFF Addr 350
The ZSoft driver (SAPI.EXE) may be loaded in CONFIG.SYS or the command line.
Loading the driver from the DOS command line has two advantages. First, the
driver isn't loaded during those DOS sessions where you don't need to use the
scanner, freeing DOS memory for other applications. Second, the driver may
be REMOVED from memory if the driver was the last TSR program loaded, freeing
DOS memory for other applications. See the /U parameter for more information.
The commands provided by the driver are listed below in the example of the /H
parameter.
ZSoft Scanner Driver, version 6.00
Copyright (C) ZSoft Corp. 1991. All rights reserved.
Valid Commands:
/Bxxx = Buffer Size
/Cx = application Code (1-4)
/H = display this Help text
/? = display this help text
/Txxxx = do diagnostic Testing (verify communication with scanner)
/V = Verbose messages and status displays
/U = Unload driver
/B
==
This parameter allows the user to specify the size of the interrupt I/O
buffer in K (kilobytes). If a buffer is used by the driver the default
will be 8k. This value is most important for hand scanners. If a hand
scan has "hits", lines, or breaks in the picture then increasing the buffer
size may eliminate the problem.
/C
==
In order to maximize the scanner functionality available to the application,
the /C parameter is used. This command parameter is usually set by the
install program. If the parameter is omitted, the application will still
work, but may be missing some features. The codes are:
/C1 = Paintbrush Plus (DOS)
/C2 = Paintbrush Plus (WIN)
/C3 = Paintbrush 4 Plus (DOS)
/C4 = Publisher's Paintbrush (Win)
/U
==
The unload command will remove the scanner driver from memory thus freeing
memory space for other applications. The scanner driver can only be removed
if it was invoked as a TSR not a device driver. If the user attempts to
unload the scanner driver and it was specified as a CONFIG.SYS driver, then
the error message
Cannot UNload driver loaded from CONFIG.SYS.
Can only UNload TSR driver (loaded from DOS).
will be displayed and the driver will NOT be unloaded.
Messages
========
Checking scanner...
The checking message is displayed during initialization of the scanner. Since
this operation might take a few seconds the scanner driver is informing the
user, rather that look like it has "locked up". Note that if the scanner is
not powered-up, the system will hang on this message.
Supporting: ???????????
This message is displayed upon successful initialization of the scanner. The
name and model of the scanner found will be displayed.
Error Messages
==============
Invalid speed specified.
This message is displayed when the user specifies an invalid value for the /0
parameter.
Scanner not responding (do you have the right address?)
This message is displayed at initialization time if the scanner driver cannot
successfully communicate with the scanner.
###